import { ApiProperty } from "@nestjs/swagger";

export class CreateTypeDto {
    @ApiProperty({description:'类型名称'})
    type:string;
    @ApiProperty({description:'父类型id可以为空'})
    parentId:string|null;
}
